home *** CD-ROM | disk | FTP | other *** search
- CHANGETASKPRI
-
- Changes the priority of a currently running process.
-
- Format
-
- CHANGETASKPRI <priority> [PROCESS <process number>]
-
- Template
-
- PRI=PRIORITY/A/N,PROCESS/K/N
-
- Location
-
- C:
-
- CHANGETASKPRI changes the priority of the specified Shell process. If no
- process is specified, the current Shell process is assumed. Any shell process
- started from <process number> inherits its priority.
-
- Use the STATUS command to display the current process numbers.
-
- The range of acceptable values for <priority> is the integers from -128 to
- 127, with higher values yielding a higher priority (a greater proportion of
- CPU time is allocated). However, do not enter values above +10 to avoid
- disrupting important system tasks.
-
- Example:
-
- 1> CHANGETASKPRI 4 Process 2
-
- The priority of Process 2 is changed to 4. Any shell process started from
- this Shell also has a priority of 4. They have priority over any other user
- tasks created without using CHANGETASKPRI (those tasks have a priority of 0).
-
- See also: STATUS. For another example for using CHANGETASKPRI, see Chapter 8.
-